package com.yuanfeng.payment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuanfeng.payment.entity.PayDistributorStatementEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @Entity com.yuanfeng.payment.entity.PayDistributorStatement
 */
@Mapper
public interface PayDistributorStatementMapper extends BaseMapper<PayDistributorStatementEntity> {

    /**
     * 更新分销商结算单
     * @param param
     */
    void updateStatementState(@Param("param") Map<String, Object> param);

    /**
     * 分页查询分销商结算单
     * @param page
     * @param param
     * @return
     */
    IPage<PayDistributorStatementEntity> queryStatement(IPage<PayDistributorStatementEntity> page , @Param("param") Map<String, Object> param);
}




